package com.yy.jhl.ui.user.contract;

import com.yy.common.base.BasePresenter;
import com.yy.common.base.BaseView;
import com.yy.jhl.bean.LoginInfo;

/**
 * Created by Ellis.Li on 2017/5/8.
 */
public interface LoginContract {
    interface View extends BaseView {
        void loginSuccess(LoginInfo loginInfo);
        void loginFail();
    }
    abstract static class Presenter extends BasePresenter<View> {
        public abstract void login(String username,String password,int loginType,String remember_me);
    }
}
